package com.zhangxi.springbootwebzhangxi.service;

import com.zhangxi.springbootwebzhangxi.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: DeptService
 * Package: com.zhangxi.springbootwebzhangxi.service
 */

//部门业务规则
public interface DeptService {
    List<Dept> allDept();

    void  deleteDept(Integer id);

    void insertDept(Dept dept);

    Dept getDept(Integer id);

    void UpdateDept(Dept dept);
}
